package com.haima.sage.bigdata.api.frame.condition.impl;

import com.haima.sage.bigdata.api.frame.condition.Condition;

public class ConditionFactory {
    public static ConditionService<?> getInstance(Condition group) {
        if (group == null) {
            return new NoneConditionService(null);
        }
        return group.service();
    }
}
